package com.jkl.nettyserver.Netty;

import com.google.gson.Gson;
import io.netty.channel.Channel;
import org.springframework.stereotype.Component;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentSkipListSet;

@Component
public class General {
    public static final ConcurrentHashMap<String, Channel> CHANNEL_MAP = new ConcurrentHashMap<>();
    public static final ConcurrentSkipListSet<String> LOCK_SET = new ConcurrentSkipListSet<>();
    public static final Gson gson=new Gson();
}
